#ifndef __VECTOR2_H__
#define __VECTOR2_H__

struct V2s{
	int x;
	int y;
};


struct Vector2{
	 struct V2s v2s;
	 struct V2s (*_add)(struct V2s,struct V2s);
	 double (*_getDis)(struct V2s,struct V2s);	
};

extern struct V2s _addf(struct V2s v2s1, struct V2s v2s2);
extern double _getDisf(struct V2s v2s1,struct V2s v2s2);
extern void test_vector2();
extern void test_v2sDis();

extern struct Vector2 _vector2;
#endif
